package com.bifrost.service;


import com.bifrost.entity.MerchantStore;
import com.bifrost.entity.User;
import com.bifrost.model.ro.PromotionRO;
import com.bifrost.model.vo.PageVO;
import com.bifrost.model.vo.PromotionSkuVO;

import java.util.List;

/**
 * @author wqhe
 */
public interface AdminPromotionService {

    PageVO list(MerchantStore merchantStore, String productCode, String productName, String startTime, String endTime, Integer pageCode, Integer pageSize);

    List<String> save(MerchantStore merchantStore, PromotionRO promotionRO, User byId);

    List<PromotionSkuVO> listAll(String type);
}
